home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
os2
/
hfs001.zip
/
hfs.INF
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1996-06-27
|
16KB
|
396 lines
ΓòÉΓòÉΓòÉ 1. Title page ΓòÉΓòÉΓòÉ
HFS/2
A Hierarchical File System Driver for OS/2
Copyright (C) 1996 by Marcus Better
Based on "MacFS", Copyright (C) 1996 by
Peter A. Dinda, George C. Necula, and Morgan Price
ΓòÉΓòÉΓòÉ 2. Introduction ΓòÉΓòÉΓòÉ
HFS/2 is a file system driver for OS/2 which reads and writes Macintosh
diskettes. With HFS/2, a Macintosh diskette can be used seamlessly with OS/2
just as if it were an ordinary DOS diskette. At least, that is how it is
supposed to be once the rough edges get smoothed out.
This program supports 1.4MB Macintosh diskettes formatted with the Hierarchical
File System only. Old 800k diskettes or diskettes formatted with the "flat"
file system cannot be used. In the future, it should be possible to make HFS/2
handle hard disks as well.
Warning: This program is in an early, experimental state. It is almost
certainly lacking some important features, and may still have many bugs and
problems. You should always make backup copies of any diskettes that you use
with this program.
HFS/2 is based on MacFS, a free, portable implementation of the Macintosh
Hierarchical File System by Peter A. Dinda, George C. Necula, and Morgan Price.
The source code for MacFS is incorporated in HFS/2, slightly modified. I have
found it helpful to look at the source code of Matthieu Willm's ext2-os2
driver, and have borrowed some ideas from him. The IFS part of HFS/2 follows an
architecture for a split ring 0/ring 3 IFS described in articles by Andre
Asselin in the Electronic OS/2 Developer's Magazine.
The latest version of HFS/2 is available on the WWW at
http://www.abc.se/~m9111/HFS.
I hope you will find HFS/2 useful. You are welcome to send me any comments,
suggestions, bug reports and contributions.
Marcus Better
Email: Marcus.Better@abc.se
ΓòÉΓòÉΓòÉ 3. Licence and Conditions of Use ΓòÉΓòÉΓòÉ
Licence for HFS/2
Licence for MacFS
ΓòÉΓòÉΓòÉ 3.1. Licence for HFS/2 ΓòÉΓòÉΓòÉ
Disclaimer This program is supplied as is. The author assumes no
responsibility for damages which may result from the use of this
program.
HFS/2 may be used and freely distributed within the limits stated below. You
may also modify HFS/2 and incorporate it in other programs within these
limits.
1. HFS/2 may be freely used for non-commercial purposes only.
2. If you alter HFS/2 in any way and distribute the work, then that work
must be similarly free, and the source code must be freely available to
the public.
This program incorporates MacFS, which is covered by a licence of its own.
HFS/2 is Copyright (C) 1996 by Marcus Better.
ΓòÉΓòÉΓòÉ 3.2. Licence for MacFS ΓòÉΓòÉΓòÉ
WARNINGS
--------
THIS SOURCE CODE IS NOT PUBLIC DOMAIN, FREEWARE, SHAREWARE, or "COPY-LEFTED."
THIS SOURCE CODE MAY BE FREELY DISTRIBUTED UNDER THE LIMITS SPECIFIED BELOW.
THIS SOURCE CODE HAS NO ACTUAL OR IMPLIED WARRANTY OR GUARANTEE OF ANY
KIND FROM PETER A. DINDA, GEORGE C. NECULA, MORGAN PRICE, CARNEGIE MELLON
UNIVERSITY, OR ANY OTHER PARTY.
THIS SOURCE CODE IS NOT SUPPORTED BY PETER A. DINDA, GEORGE C. NECULA,
MORGAN PRICE, CARNEGIE MELLON UNIVERSITY, OR ANY OTHER PARTY.
To the best of our knowledge, this source code, "MacFS", is correct
and suitable. However, no warranty or guarantee of any kind, either actual
or implied, is provided for this software. Additionally, no support is
provided for this software. It is used at your own risk.
==============================================================================
LICENSE
-------
This source code, "MacFS", is
Copyright (c) 1996 by Peter A. Dinda, George C. Necula, and Morgan Price
Current version is available via:
http://www.cs.cmu.edu/afs/cs.cmu.edu/usr/pdinda/html/pdinda.html
ftp://ftp.cs.cmu.edu/user/pdinda
Permission is granted to distribute and freely use and extend "MacFS", or
to incorporate the "MacFS" source code into other software within these
limits:
0) "MacFS" and any derivatives of "MacFS" must retain this license,
display the above copyright notice when run, and include this file.
1) "MacFS" and any derivatives of "MacFS" may only be freely used for
non-commercial purposes. If you are interested in commercial use of
"MacFS", contact Peter A. Dinda (pdinda@cs.cmu.edu).
2) "MacFS" and any derivatives of "MacFS" may not be used for military
purposes.
3) Peter A. Dinda (pdinda@cs.cmu.edu) must be notified of any
derivatives of "MacFS"
In simple terms, "MacFS" may be freely used for any non-commercial,
non-military purposes. Derivatives of "MacFS" must be similarly free
and Peter A. Dinda (pdinda@cs) must be notified of their existence.
Commercial use of "MacFS" and commercial derivatives of "MacFS" are NOT
ALLOWED under this license. To use "MacFS" commercially, contact
Peter A. Dinda (pdinda@cs.cmu.edu) for more information.
Peter August Dinda pdinda@cs.cmu.edu
Doctoral Student, School of Computer Science, Carnegie Mellon University
http://www.cs.cmu.edu/afs/cs.cmu.edu/usr/pdinda/html/pdinda.html
ΓòÉΓòÉΓòÉ 4. Installation instructions ΓòÉΓòÉΓòÉ
The following steps describe how to install HFS/2.
1. Unpack the distribution archive hfsnnn.zip into a directory anywhere on
your system.
2. Add the following line to the CONFIG.SYS file on your boot drive:
IFS=d:\path\HFS.IFS
where d:\path\ is the path to the directory where you unpacked the files.
The line must be located after the IFS= statement for the file system
where HFS/2 resides, if any.
3. You may add the line
RUN=d:\path\HFS.EXE
to the CONFIG.SYS file to have the Control Program HFS.EXE started in the
background at boot time. This program must be activated, either in this
way or simply by running it from an OS/2 prompt, before using HFS/2.
4. Optionally add the HFS/2 directory to the PATH line in CONFIG.SYS.
ΓòÉΓòÉΓòÉ 5. Using HFS/2 ΓòÉΓòÉΓòÉ
HFS/2 is made up mainly of two parts:
the IFS, and
the Control Program.
The IFS resides in the file HFS.IFS, and is loaded at boot time with a line in
CONFIG.SYS. The Control Program resides in the file HFS.EXE.
In addition, the HFS/2 package contains the utilities PREPARE.EXE, SYNC.EXE
and FSKILL.EXE. Their function is described in the following sections.
Here is a short summary of the steps involved in using a Macintosh diskette
with HFS/2:
1. Make sure the Control Program is running.
2. Insert the diskette into a diskette drive. We will assume this drive is
A: for this example.
3. If the diskette has not been prepared for use with HFS/2, prepare it with
the command
PREPARE /P A:
See the section on PREPARE for a closer description of this command.
4. Access the files on the diskette in any way you like.
5. Synchronize the data on the diskette by invoking
SYNC A:
See the section on SYNC for further information on this command.
6. Optionally restore the diskette with the command
PREPARE /R A:
7. Remove the diskette from its drive.
ΓòÉΓòÉΓòÉ 5.1. The Control Program ΓòÉΓòÉΓòÉ
The file HFS.EXE is known as the Control Program. It is the Control Program
that carries out most tasks on behalf of the file system driver. HFS.EXE can be
started either from an OS/2 prompt, or using a RUN= statement in CONFIG.SYS.
There are no command-line options for HFS.EXE.
When the Control Program is started, it connects to the IFS and starts
processing file system requests. Macintosh volumes can be accessed only when
the Control Program is running. The Control Program will refuse to load if
another instance of the program is already running.
Warning: If the Control Program is interrupted while a Macintosh diskette is
mounted, data may be lost and the diskette left in an inconsis